import axios from "@/libs/api.request";

export const getList = (limit, offset) => {
  //?latitude=36.06138&longitude=103.83417&offset=16&limit=8&extras[]=activities&extras[]=tags
  return axios.request({
    url: "https://h5.ele.me/restapi/shopping/v3/restaurants",
    method: "get",
    params: {
      latitude: 36.06138,
      longitude: 103.83417,
      offset,
      limit,
      extras: ["activities", "tags"]
    }
  });
};
